[Template:config.txt]
[Template:scriptincludes.html]
<script>
	
	$(function() {
		$.datepicker.setDefaults($.datepicker.regional[['en-GB']]);
		$('input[[name$="dateInvoice"]]').datepicker();
		$('input[[name$="datePaymentStart"]]').datepicker();
		$( ".RadioButton" ).buttonset();
    }); 

</script>	

<div class="nwb-button-container">
[<tag id="cmdUpdate1" type="linkbutton" text="Update" tooltip="Update" commandname="Update" cssclass="nwb-button primary icon approve" commandargument="ItemID"/>]&nbsp;
[<tag id="cmdGoClient" type="linkbutton" text="View Contact" tooltip="View Contact Details" cssclass="nwb-button icon search" commandname="goclient" commandargument="ItemID" />]&nbsp;
[<tag id="cmdDelete1" type="linkbutton" text="Delete" tooltip="Delete" cssclass="nwb-button danger icon remove" commandname="Delete" commandargument="ItemID" confirm="Delete Item?" />]&nbsp;
[<tag id="cmdCancel1" type="linkbutton" text="Cancel" tooltip="Cancel" commandname="Cancel" cssclass="nwb-button danger" commandargument="ItemID" causesvalidation="False"/>]&nbsp;
</div>
<br/>
<div class="nwb-button-group">
[<tag id="cmdRecalc" type="linkbutton" text=" Recalculate" tooltip="Recalculate Total" cssclass="nwb-button" commandname="Recalc" commandargument="ItemID" />]&nbsp;
[<tag id="cmdSelectArticle" type="linkbutton" text=" Select Article" tooltip="Select Article" cssclass="nwb-button" commandname="SelectArticle" commandargument="ItemID" />]&nbsp;
[<tag id="cmdAddArticle" type="linkbutton" text=" Add Article" tooltip="Add Article" cssclass="nwb-button primary icon add" commandname="AddArticle" commandargument="ItemID" />]&nbsp;
</div>
[<tag id="valsum" ctrltype="validationsummary" />]
<div>
[<tag id="UserID" type="hidden" value="" />]
[<tag id="ItemID" type="hidden" value="databind:ItemID" />]
[<tag id="dteModifiedDate" type="hidden" value="" />]
[<tag id="LockedBy" type="hidden" value="" />]
[<tag id="htmlDisplayLockedBy" type="hidden" value="" />]
[<tag id="dblSubTotal" type="hidden" value="" datatype="double" />]
[<tag id="dblTaxTotal" type="hidden" value="" datatype="double" />]
[<tag id="dblGrandTotal" type="hidden" value="" datatype="double" />]
[<tag id="dblTotalDue" type="hidden" value="" datatype="double" />]
[<tag type="valueof" xpath="genxml/hidden/htmldisplaylockedby" />]
[<tag id="EstimateRef" type="hidden" value="" />]
[<tag id="EstimatePDF" type="hidden" value="" />]
[<tag id="EstimatePrintPDF" type="hidden" value="" />]
[<tag id="InvoiceRef" type="hidden" value="" />]
[<tag id="InvoicePDF" type="hidden" value="" />]
[<tag id="InvoicePrintPDF" type="hidden" value="" />]
[<tag id="LogoImage" type="hidden" value="" />]
<div class="NBright_TotalsDiv"><h2>Total (HT) {$CurrencySymbol} [<tag type="valueof" xpath="genxml/hidden/dblsubtotal"  datatype="double" format="N" />]&nbsp;&nbsp;Total (TTC) {$CurrencySymbol} [<tag type="valueof" xpath="genxml/hidden/dblgrandtotal"  datatype="double" format="N"  />]</h2></div>
[<tag id="rblStatus" type="radiobuttonlist" cssclass="RadioButton" repeatcolumns="2" repeatdirection="1" datavalue="STATUS1;STATUS2" data="Draft;Approved" selectedvalue="STATUS1" />]
<table class="normal" width="100%" border="0px" cellpadding="1px" cellspacing = "1px">
<tr>
<td align="right">Invoice Ref : </td>
<td>[<tag type="valueof" xpath="genxml/hidden/invoiceref" />]</td>
</tr>
<tr>
<td align="right">Group : </td>
<td>[<tag id="ddlGroup" type="dropdownlist" data="Autres;Hebergement;Affiche Fluo;Amylis;Traduction;Douteux" />]</td>
</tr>
<tr>
<td align="right">Invoice Date : </td>
<td>[<tag id="dateInvoice" type="textbox" datatype="date" width="90" />][<tag id="rvInvDateReq" ctrltype="rfvalidator" errormessage="Invoice Date Required" text=" Date Required" controltovalidate="dateInvoice" />]</td>
</tr>
<tr>
<td align="right">Payment Start Date : </td>
<td>[<tag id="datePaymentStart" type="textbox" datatype="date" width="90" />]</td>
</tr>
<tr>
<td align="right">Already Payed : </td>
<td>[<tag id="txtAlreadyPaid" type="textbox" width="100" maxlength="200" text="0" datatype="Double" />][<tag id="rvAlreadyPaid" ctrltype="rvalidator" errormessage="Already Payed Error" text="ERR!" controltovalidate="txtAlreadyPaid" minimumvalue="0" maximumvalue="9999999" rangetype="Currency"/>]</td>
</tr>
<tr>
<td align="right">Numer of Payments: </td>
<td>[<tag id="txtNumPayments" type="textbox" width="100" maxlength="200" text="1" />][<tag id="chkDirectPayments" type="checkbox" text="Direct Payments" />][<tag id="chkTransfer" type="checkbox" text="By Transfer" />]</td>
</tr>
<tr>
<td colspan="4">[<tag id="txtNotes" type="textbox" height="100" width="400" maxlength="500" textmode="MultiLine" />]</td>
</tr>
</table>

[Template:ClientFullSelect.html]


[<tag id="chkWrittenOff" type="checkbox" text="Written Off" />]&nbsp;&nbsp;&nbsp;[<tag id="chkClosed" type="checkbox" text="Closed" />]&nbsp;&nbsp;&nbsp;Estimate Ref : [<tag type="valueof" xpath="genxml/hidden/estimateref" />]
<br />
<font size="1px">Last Modified : [<tag type="valueof" xpath="genxml/hidden/dtemodifieddate" />]</font>
</div>
